package com.zircloud.tenant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author test
 * @since 2022-01-06
 */
@Data
@ToString
@TableName("user_info")
public class UserInfo {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	
	@TableField("tenant_id")
	private Long tenantId;

	@TableField
	private String name;

	@TableField
	private Integer age;
}
